#ifndef _FRAME_SRC_ENC_H264_H_
#define _FRAME_SRC_ENC_H264_H_
#include <stdint.h>
#include<thread>
#include <atomic>
#include <stdio.h>
#include "frame_src_component.h"

class CFrame_src_enc_h264 :public CFrameSrcComonent
{
public:
	CFrame_src_enc_h264();
	~CFrame_src_enc_h264();
	virtual int  Open(const char* filePath, int streamID);
	virtual void Close();

	virtual int start();
	virtual void stop();
protected:
	int encode_thd();

	thread m_enc_thd;
};

#endif
